export const interceptor = (router: any) => {
    router.beforeEach((to: any, from: any, next: any) => {
        document.title = to.meta.title || 'Vant4-VUE3'
        console.log(to, from, next);
        next()
    });
}

export default interceptor
